package com.csun.cmny.provider.model.vo.comments;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

@Data
public class CommentsVo {




    /*工单id*/
    private Long serviceOrderId;

    /*服务时间*/
    private String serviceEndTime;

    /*工单编号*/
    private String orderNo;

    /*商家名称*/
    private String merchantName;

    /*服务人员姓名*/
    private String userNameGet;

    /*人员评论星级 0-零星 1-一星 2-二星 3-三星 4-四星 5-五星*/
    private Integer peopleStarLevel;

    /*项目评论星级 0-零星 1-一星 2-二星 3-三星 4-四星 5-五星*/
    private Integer starLevel;



    /*评论内容*/
    private String contents;

    /*追评内容*/
    private String otherContents;

    /*工单来源 1-app下单 2-平台下单 3-政府下单*/
    private Integer orderSource;


    /*下单人电话*/
    private String userPhone;

    /*订单金额*/
    private Long total;

    /*客户姓名*/
    private String oldmanName;

    /*服务地址*/
    private String serviceAddress;

    /*商品名称*/
    private String merchandiseName;

    /*创建时间*/
    @Column(name = "created_time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createdTime;



}
